package br.com.fpf.pontoapp.model.bo.impl;

import org.jsoup.nodes.Document;

import br.com.fpf.pontoapp.model.bo.IUserBO;

public class UserBO implements IUserBO {

	/**
	 * Gets the name.
	 * 
	 * @param text
	 *            the text
	 * @return the name
	 */
	public static String getName(Document docSoup) {
		String text = docSoup.select("div.float_r").text();

		int pos = text.indexOf(" | Imprimir | sair");

		return text.substring(0, pos);
	}

}
